package javax.mail;

public class FolderNotFoundException extends MessagingException {
    private transient Folder folder;

    public FolderNotFoundException(Folder folder, String s) {
        super(s);
        this.folder = folder;
    }

    public FolderNotFoundException(String s, Folder folder) {
        super(s);
        this.folder = folder;
    }
}
